//@author A0096759E

package storage;


public class UndoRedoStackEntry {
	
	private ScheduleEvent doneEvent;
	private String undoCommand;
	
	//Constructor
	public UndoRedoStackEntry(String undoCommand, ScheduleEvent doneEvent) {
		this.doneEvent = doneEvent;
		this.undoCommand = undoCommand;
	}
	
	//Assessors
	public String getCommand() {
		return this.undoCommand;
	}
	
	public ScheduleEvent getEvent() {
		return this.doneEvent;
	}
	
	public String toString() {
		return this.undoCommand;
	}
}
